
//应急值班的对话框
var onextzhDlg = null;

function onextzhDlgInit(){
	if(onextzhDlg==null){//如果对话框不存在，那么创建
		onextzhDlgCreate();
		onextzhDlg.zindex();
	}else if(itemExistArray(onextzhDlg,minDlgArray)){//如果对话框存在，且对话框处在最小化的状态
		//调用minbar.js之中的还原方法
		resizeMinDlgFuncBySecondaryfuncDiv(onextzhDlg);
	}
	onextzhDlg.zindex();
}	

//创建对话框
function onextzhDlgCreate(){
	onextzhDlg =  $.dialog({
		title: '协调指挥',
		content: 'url:jsp/xtzh/xtzh.jsp',
		dlgDivId: "onextzhDlgId",
		resize: false,
		max: false,
		left:(document.documentElement.clientWidth-830)/2+"px",
		top:'200px',
		width:'830px',
		height:'400px',
		min:onextzhDlgMinFunction,
		close:onextzhDlgCloseFunction,
		
	});
}

//关闭的方法
function onextzhDlgCloseFunction(){
	onextzhDlg = null;
}

//最小化的方法
function onextzhDlgMinFunction(){
	minDlgByAnimate(onextzhDlg);
}
